package computer.close_computer_1;

/**
 * 计算机类
 */
public class Computer {

    public void saveCurrentTask() {
        //do saveCurrentTask
    }

    public void closeService() {
        //do closeService
    }

    public void closeScreen() {
        //do closeScreen
    }

    public void closePower() {
        //do closePower
    }

    /**
     * 关闭计算机
     */
    public void close() {
        saveCurrentTask();
        closeService();
        closeScreen();
        closePower();
    }
}
